home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / arc / shezs19c.zip / SHEZSHOW.TXT < prev   
Text File  |  1996-05-03  |  11KB  |  272 lines

  1.      ------------------------------------------------------------
  2.           Darrell Bivens, Silver Bullet BBS   (423) 337-9683
  3.                                               (423) 337-0773
  4.                                               (423) 337-3441
  5.           internet:  darrell.bivens@silver.org
  6.      ------------------------------------------------------------
  7.  
  8. What is ShezShow?  ShezShow is a collection of text files, batch files
  9. and sample files, that show you how to get MORE from the Shez Archive
  10. Manager Program.
  11.  
  12. The Batch files are mainly concerned with using multiple virus scanners
  13. with the Shez program.  The SHEZSHOW.TXT text file explains several
  14. enhancements that you can make to your Shez program.  These enhancements
  15. are numbered  1)  through  x)  so you can search for ")  "  (parentheses
  16. and two spaces, don't type the quotes) to find the first of each
  17. enhancement section.
  18.  
  19. These files, hints, and suggestions have been used on Shez version 10.9
  20. with NO detected problems.
  21.  
  22. Use and enjoy.
  23. Darrell Bivens
  24.  
  25.  
  26.  
  27. How to Enhance your Shez program for maximum use!
  28.  
  29. 1)  Loading Shez in the TAB Window. SHEZA.BAT as an alternate viewer!
  30.  
  31. Shez does not OPEN archive files inside the TAB window (on the right
  32. side of the screen) like it does in the File Window when you press the
  33. [ENTER] key. To allow Shez to work with archives in either window, I
  34. created a batch file, SHEZA.BAT, that loads another copy of Shez as an
  35. alternate viewer when you press [CTRL]-[ENTER].
  36.  
  37. To use the SHEZA.BAT file you need one line in SHEZ.INI for each
  38. file/archive type you want Shez to work with.
  39.  
  40. (Sample SHEZ.INI entry, to be placed below the [External Viewers])
  41. (line which is already in the SHEZ.INI file                      )
  42.  
  43. [External Viewers]     ;THIS IS A REQUIRED ENTRY, TELLS SHEZ WHERE
  44.                        ;THE EXTERNAL VIEWER DATA BEGINS
  45.  
  46. ZIP=SHEZA $F
  47. UC2=SHEZA $F
  48. ARJ=SHEZA $F
  49. LZH=SHEZA $F
  50.  
  51. Now when you press [CTRL]-[ENTER] in either Window when a file with one
  52. of the above extensions is high lighted, Shez launches SHEZA.BAT as a
  53. file viewer.  SHEZA.BAT file looks through several directories looking
  54. for a directory where Shez was NOT loaded from.  It then changes to that
  55. directory and loads another copy of Shez against the high lighted file.
  56. When you are through working with the file, Exit Shez and you will be
  57. returned to the previous copy of Shez in memory EXACTLY where you were
  58. when you pressed [CTRL]-[ENTER].
  59.  
  60. (This works best if you have plenty of memory or a VERY FAST hard drive
  61. because Shez automatically uses the Shell function for uSer programs).
  62.  
  63.  
  64. 2)  SHEZA.BAT as a uSer program!
  65.  
  66. I have setup SHEZA.BAT as a uSer program.  I left off the $f after
  67. SHEZA.BAT so I could use Shez to access any file (normal load).
  68. The only drawback in this use is that SHEZA.BAT loads Shez in the first
  69. directory where it found that Shez had NOT been loaded.  For this reason
  70. you should setup SHEZA.BAT starting with the directory you WANT Shez to
  71. be loaded from on the first line and continue to the least desired
  72. loading directory as the last entry.  SHEZA.BAT will only move from one
  73. directory to another if it finds Shez has already been loaded in the
  74. current directory (finding Z#\PRN).
  75.  
  76. [User-menu]
  77. Name=Sheza Alternate Shez load
  78. Program=~C:\SECURITY\SHEZA.BAT|C:\TEMP
  79.  
  80. When you are through working with the file(s), Exit Shez and you will be
  81. returned to the previous copy of Shez in memory EXACTLY where you were
  82. when you pressed [CTRL]-[ENTER].
  83.  
  84.  
  85. 3)  How to use alternate Virus Scanners in Shez!
  86.  
  87. A Shez configuration file only has one entry for your virus scanning
  88. program filename and command line options.
  89. There are several ways to use more than one virus scanner in Shez.
  90.  
  91. The simplest way:  If you ALWAYS want to use the same scanners with the
  92. same options: create a batch file that has the correct commands and
  93. command line options for scanning.
  94.  
  95. Sample SHEZSCAN.BAT:
  96.  
  97. ECHO OFF
  98. IF EXIST %1 C:\TBAV\TBSCAN %1 IN NM BA LOG LN=C:\TEMP\SHEZSCAN.LOG NB NH 
  99. IF NOT EXIST %1 C:\TBAV\TBSCAN %1\*.* IN NM BA LOG LN=C:\TEMP\SHEZSCAN.LOG NB NH 
  100. IF ERRORLEVEL 1 CALL C:\SECURITY\SHEZFAIL TBSCAN %1 
  101. IF EXIST %1 C:\SECURITY\F-PROT %1 /REPORT=C:\TEMP\SHEZSCAN.LOG /APPEND /NOMEM /NOBOOT 
  102. IF NOT EXIST %1 C:\SECURITY\F-PROT %1 /ALL /REPORT=C:\TEMP\SHEZSCAN.LOG /APPEND /NOMEM /NOBOOT 
  103. IF ERRORLEVEL 1 CALL C:\SECURITY\SHEZFAIL F-PROT %1 
  104. C:\SECURITY\SCAN %1 /A /SUB /NOMEM /NOEXPIRE /NOPAUSE /HISTORY C:\TEMP\SHEZSCAN.LOG 
  105. IF ERRORLEVEL 1 CALL C:\SECURITY\SHEZFAIL SCAN %1 
  106. C:\SECURITY\SCAN2 %1 /SUB /NOMEM /ALL /APPEND /REPORT C:\TEMP\SHEZSCAN.LOG 
  107. IF ERRORLEVEL 1 CALL C:\SECURITY\SHEZFAIL SCAN2 %1 
  108. C:\SECURITY\AVSCAN %1 /R /S /NM /V /L+C:\TEMP\SHEZSCAN.LOG 
  109. IF ERRORLEVEL 1 CALL C:\SECURITY\SHEZFAIL AVSCAN %1 
  110.  
  111. and then configure Shez to use that batch filename.ext as your virus
  112. scanner.
  113.  
  114. A second method is also simple:  Setup different uSer Menu entries for
  115. your different Viri scanners.  The limit here is that the uSer Menu
  116. entries were designed to work with the high lighted file only.  To get
  117. around this, Jim added some uSer command line variables to specify
  118. different paths and directories.
  119.  
  120. Added $?  command line input to user menu variables.
  121. Added $CD current drive to user menu variables.
  122. Added $CP current path to user menu variables.
  123. Added $ED extract drive to user menu variables.
  124. Added $EP extract path to user menu variables.
  125.  
  126. For some examples, your uSer Menu can be setup to use your favorite Viri
  127. scanner on the directory where you just extracted the files to.
  128.  
  129. [User-menu]
  130. Name=McAfee Assts. Scan
  131. Program=~C:\SECURITY\SCAN.EXE $EP*.* /NOMEM /A /BELL /NOPAUSE|C:\TEMP
  132.  
  133. Name=F-Prot Virus Scan One
  134. Program=~C:\SECURITY\F-PROT.EXE $EP*.* /NOBOOT /NOMEM|C:\TEMP
  135.  
  136. Name=ThunderBYTE TBScan One
  137. Program=~C:\TBAV\TBSCAN.EXE $EP*.* NB NM NH AF IN BA|C:\TEMP
  138.  
  139.  
  140. A third method is more flexible but a little harder to setup:  This
  141. method uses SHEZSET.BAT to choose which virus scanner(s) to use.
  142. You will need to make a uSer Menu entry to select your Viri Scanner
  143. using SHEZSET.BAT.  You will also need to make uSer Menu entries to use
  144. SHEZSCAN.BAT for Viri Scanning. After that you can reconfigure Shez to
  145. use a different Viri scanner while Shez is loaded.
  146.  
  147.  
  148. [User-menu]
  149. Name=SHEZSCAN Extracted
  150. Program=~C:\SECURITY\SHEZSCAN.BAT $EP|C:\TEMP
  151.  
  152. Name=SHEZSCAN Current
  153. Program=~C:\SECURITY\SHEZSCAN $CP
  154.  
  155. Name=SHEZSCAN A File
  156. Program=~C:\SECURITY\SHEZSCAN $F
  157.  
  158. Name=SHEZSCAN Any
  159. Program=~C:\SECURITY\SHEZSCAN $?
  160.  
  161. Name=CFG SHEZSCAN
  162. Program=~C:\SECURITY\SHEZSET $?|C:\SECURITY
  163.  
  164.  
  165.  
  166. 4)  RENAME (or Rename Tagged) to FAST MOVE on the Same drive:
  167.  
  168. This suggestion has been removed.  Shez now uses the RENAME function
  169. internally when you choose the MOVE menu option (moving from/to the same
  170. drive).  The result is the move of a file that happens just as fast as
  171. the rename of that file, even on an XT.
  172.  
  173.  
  174.  
  175.  
  176. 5)  Create a file list for other programs to use.
  177.  
  178. Many programs, Virus Scanners, Archive Utilities and others, can use a
  179. File List to process a BATCH of files with one command.
  180.  
  181. Shez has the ability to TAG files and then run a uSer Program against
  182. these tagged files.  To create a file list for other programs to use is
  183. easy.  Add this uSer Menu item to the end of your SHEZ.INI file.
  184.  
  185. Name=Create File List (FL.TXT)
  186. Program=COMMAND /CECHO $F >> FL.TXT|C:\TEMP
  187.  
  188. You will need to change the file name (FT.TXT) to the filename.ext you
  189. want to use.  Also change the default directory to the one where you
  190. want your file list created.
  191.  
  192. This will always ADD to the list if it exists.  Use Shez File Window to
  193. display *.* and delete the file to create another new list.  Or you can
  194. use another uSer Menu entry to delete the existing file.
  195.  
  196. Name=Delete File List (FL.TXT)
  197. Program=IF EXIST FT.TXT DEL FL.TXT|C:\TEMP
  198.  
  199.  
  200. 6)  User Menu Option Freshen Extract for ZIP files.
  201.  
  202. This option works best if you ONLY have SOME of the files extracted from
  203. a ZIP archive. I found that after I had registered my shareware, I removed
  204. most if not all of the DOC/README... files and often I only install SOME
  205. of the EXE/COM type files.  When I update to the latest versions all I
  206. want to do is update the files (by name) that I already have installed.
  207. If additional files need to be updated/read... I use SHEZ on these files
  208. one at a time while the files are still inside the archive.
  209.  
  210. Warning:  This option will let PKUNZIP REPLACE files without asking for
  211. permission.  This replacement is based on NAME match and a NEWER date on
  212. the file in the archve!
  213.  
  214. To add the Freshen/Extract option to your User Menu you need to use a
  215. text editor and edit the SHEZ.INI file.  Search for the section titled
  216. [User-menu] and under that title add the following two lines.
  217.  
  218. Name=Freshen/Extract -> Extract
  219. Program=~C:\SECURITY\PKUNZIP.EXE $F $ED$EP -F|C:\TEMP
  220.  
  221. After adding this opiton, you need to do two things for this to work.
  222. First, change your extract path (ALT-P) to the proper location. Second,
  223. you MUST be at the File Window.  Now, high light filename.ZIP or
  224. have the ZIP files tagged (if you are processing a batch of files).
  225. When you choose "Freshen/Extract" menu option, Shez will call PKUNZIP
  226. and only UPDATE EXISTING files in the EXTRACT PATH to the latest versions.
  227.  
  228.  
  229. 7)  SHEZ has a very powerful Macro recorder where you can record all
  230. keystrokes into a file and then playback the macro from inside Shez or
  231. from the command line.  One macro that I have created, Invokes the virus
  232. scan routine on all files in the file window (SHEZAZ.MAC - now
  233. included).  This works fine from within Shez but when you try to do this
  234. from the command line (specifing a file to scan), Shez first Opens the
  235. archive then scans the file.  Shez is designed to Pause for review if an
  236. archive is scanned from the Compression Window (vs the File Window) thus
  237. you must play a Trick on Shez so it does not find an exact filename.ext
  238. on the command line.
  239.  
  240. For instance, say you want to use Shez to virus scan a file named
  241. C:\DOWNLOAD\NEWFILE.ZIP,  you must do the following.
  242.  
  243. SET SHEZLOG=C:\SHEZ\SHEZ.LOG
  244. C:\SHEZ\SHEZ C:\DOWNLOAD\NEWFILE.ZIP* /PLAY=C:\SHEZ\SHEZAZ.MAC
  245. SET SHEZLOG=
  246.  
  247. If you leave off the trailing * on the filename.ext, Shez Opens the
  248. archive first, which causes Shez to pause at certain screens during the
  249. Virus Scanning process.  The trailing * lets SHEZAZ.MAC virus scan the
  250. file without intervention.  This works great for BBS Operations...
  251.  
  252.  
  253. -----------------------------------------------------------------
  254.  
  255. This file/information is Freeware but I retain all rights to this
  256. work.  You may use this information freely and pass it on in its
  257. unaltered form.  I accept no money!  If you want to pay someone
  258. then Register your copy of Shez with Jim Derr.
  259.  
  260. I hope this information helps others find Shez as useful and as
  261. powerful as I have.  If you have any questions, comments or suggestions
  262. please leave me E-Mail using one of the methods below.
  263.  
  264. Darrell Bivens, Silver Bullet BBS   (423) 337-9683
  265.                                     (423) 337-0773
  266.                                     (423) 337-3441
  267.  
  268. or via internet:  darrell.bivens@silver.org
  269.  
  270. -=<the end>=-
  271.  
  272.